import java.util.Arrays;

public class Main {
    public static void main(String[] args) {
        int []array={8,3,4,13,21,6};
       //Sort.selectSort(array);
       // System.out.println(Arrays.toString(array));
        //Sort.heapSort(array);
       // System.out.println(Arrays.toString(array));
       Sort.mergeSort(array);
        System.out.println(Arrays.toString(array));
    }
}
